.x-title {
  .fa,
  i {
    margin-right: 7px;
  }
}
.x-side {
  .x-title {
    padding: 12px 12px 7px;
    h2 {
      font-size: 16px;
      .fa,
      i {
        margin-right: 7px;
      }
    }
  }
  .s-title {
    display: flex;
    align-items: center;
    padding: 0 7px;
    border-bottom: 1px solid #eeece8;

    h2 {
      flex: 1;
      font-size: 14px;
    }

    .s-toolbar {
      color: @primary-color;
      .fa,
      i {
        .square(20px);
        line-height: 20px;
        text-align: center;
        cursor: pointer;
      }
    }
  }
}
.x-toolbar {
  display: flex;
  align-items: center;
  height: @x-toolbar-height;
  .clearfix();

  .@{ant-prefix}-btn,
  .@{upload-prefix-cls},
  .@{ant-prefix}-btn-group {
    margin: 0 5px;

    &:first-child {
      margin-left: 0;
    }

    &:last-child {
      margin-right: 0;
    }
  }
  .@{ant-prefix}-btn-group .@{ant-prefix}-btn,
  .@{ant-prefix}-btn-group .@{upload-prefix-cls} {
    margin-left: 0;
    margin-right: 0;
  }
  .@{ant-prefix}-btn-group .@{ant-prefix}-btn + .@{upload-prefix-cls},
  .@{ant-prefix}-btn-group .@{upload-prefix-cls} + .@{ant-prefix}-btn,
  .@{ant-prefix}-btn-group .@{ant-prefix}-btn + .@{ant-prefix}-btn {
    margin-left: -1px;
  }
  .@{ant-prefix}-btn-group + .@{upload-prefix-cls} .@{ant-prefix}-btn-group + .@{ant-prefix}-btn {
    margin-left: 5px;
  }
  .@{ant-prefix}-form-inline {
    white-space: nowrap;
  }
  .@{ant-prefix}-input-affix-wrapper {
    width: auto;
    min-width: 200px;
  }
  .@{upload-prefix-cls} {
    .@{ant-prefix}-btn {
      margin-left: 0;
      margin-right: 0;
    }
  }

  .@{ant-prefix}-btn-group .@{upload-prefix-cls} {
    &:first-child {
      .@{ant-prefix}-btn {
        border-top-left-radius: @border-radius-base;
        border-bottom-left-radius: @border-radius-base;
      }
    }
  }

  > div {
    &:first-child {
      flex: 1;
    }
  }
  .fr {
    text-align: right;
  }

  + .x-tabs {
    margin-top: 20px;
  }
}
